﻿import request from '@/utils/request';
// list
export const wuzileibieList = (params) => {
    return request({
        url: '/wuzileibie/page',
        method: 'post',
        data: params,
    })
};
export const wuzileibieDetail = (id) => {
    return request({
        url: '/wuzileibie/'+id,
        method: 'get',
    })
};
// add
export const wuzileibieSave = (params) => {
    return request({
        url: '/wuzileibie',
        method: 'post',
        data: params,
    })
};
// updt
export const wuzileibieEdit = (params) => {
    return request({
        url: '/wuzileibie',
        method: 'put',
        data: params,
    })
};
// delete
export const wuzileibieDelete = (id) => {
    return request({
        url: '/wuzileibie/'+id,
        method: 'delete',
    })
};
// pldel
export const wuzileibieDeleteList = (wuzileibies) => {
    return request({
        url: '/wuzileibie/deleteList',
        data:{list:wuzileibies},
        method: 'post',
    })
};
// all
export const wuzileibieAllList = () => {
    return request({
        url: '/wuzileibie',
        method: 'get',
    })
};

